﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Xml.Schema;

namespace DTBuilderLib
{
    /// <summary>
    /// The layout file classes. Pretty simple, actually!
    /// </summary>
    /// 
    [Serializable]
    public class LayoutCollection
    {
        public int ItemCount;

        [XmlElementAttribute("ItemList", Form = XmlSchemaForm.Unqualified)]
        public LayoutItemInfo[] Item;
    }

    [Serializable]
    public class LayoutItemInfo
    {
        public int ID;
        public float X;
        public float Y;
        public float Width;
    }
}
